package RussianBlocksGame;

/**
 * <p> TODU </P>
 *
 * @author yeager
 * @Version V1.1.1.0
 * @date 2023/11/24 15:43
 */
public class S extends Tetromino{
    public S(int x, int y) {
        super(x,y);
        statusNum=2;
        color=5;
    }

    @Override
    public void setCells(int x, int y) {
        cells[0][0].setLocation(x, y-1);        //     * *
        cells[0][1].setLocation(x, y);             //   * *
        cells[0][2].setLocation(x -1, y);
        cells[0][3].setLocation(x-1, y+1);

        cells[1][0].setLocation(x-1, y);
        cells[1][1].setLocation(x, y);              //   *
        cells[1][2].setLocation(x , y+1);       //   * *
        cells[1][3].setLocation(x + 1, y+1);  //     *

    }
}
